package cn.wp.ewallet.wallet.dao;

import cn.wp.common.core.model.WpPage;
import cn.wp.ewallet.wallet.model.entity.MentionMoneyInfoDo;
import cn.wp.ewallet.wallet.model.entity.MentionMoneyInfoDoo;

/**
 * 提币申请单-数据访问层
 * Created by zhangyongli on 2020/01/09
 */
public interface MentionMoneyInfoDao {

    /**
     * 查询单个提币申请
     * @param orderId
     * @return
     */
    MentionMoneyInfoDoo selectMentionMoneyReqOrderById(String orderId);

    /**
     * 查询提币交易记录
     * @param address
     * @return
     */
    WpPage<MentionMoneyInfoDoo> selectMentionMoneyReqOrderByAddress(String address, WpPage page);

    /**
     * 查询提币交易记录
     * @param startTime
     * @param endTime
     * @param moneyType
     * @param page
     * @return
     */
    WpPage<MentionMoneyInfoDoo> getMentionMoneyReqOrderByMoneyType(String startTime,String endTime,String moneyType, WpPage page);

   /**
     * 保存 提币记录
     * @param mentionMoneyInfo
     * @return
     */
    int insertMentionMoneyInfo(MentionMoneyInfoDo mentionMoneyInfo);
}
